package com.duobaoyu.dby.supply.db.repository.order.impl;

import com.duobaoyu.dby.common.mybatis.base.DbyServiceImpl;
import com.duobaoyu.dby.supply.common.biz.bo.product.OrderProductSellCountBO;
import com.duobaoyu.dby.supply.common.biz.dto.order.OrderProductStatisticsDTO;
import com.duobaoyu.dby.supply.db.entity.order.OrderProduct;
import com.duobaoyu.dby.supply.db.mapper.order.OrderProductMapper;
import com.duobaoyu.dby.supply.db.repository.order.OrderProductRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName OrderProductRepositoryImpl
 * @createTime 15:48:00 2023/10/07
 */
@Repository
public class OrderProductRepositoryImpl extends DbyServiceImpl<OrderProductMapper, OrderProduct> implements OrderProductRepository {
    @Override
    public List<OrderProductSellCountBO> statisticsProductSellCount(OrderProductStatisticsDTO orderProductStatistics) {
        return this.getBaseMapper().statisticsProductSellCount(orderProductStatistics);
    }
}
